package com.jxy.bean.attribute;

import com.jxy.bean.ClassFile;
import com.jxy.tool.Tool;

import java.io.DataInputStream;

public class AttributeLineNumber {
    private int start_pc;
    private int line_number;

    public AttributeLineNumber(DataInputStream dis, ClassFile cf) {
        start_pc = Tool.readU2(dis);
        line_number = Tool.readU2(dis);
    }

    @Override
    public String toString() {
        return "AttributeLineNumber{" +
                "start_pc=" + start_pc +
                ", line_number=" + line_number +
                '}';
    }
}
